package com.biz.primus.search.vo.search;

import com.biz.primus.base.vo.commodity.DepotProductListItemVo;
import com.google.common.collect.Lists;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * 语音购搜索结果
 *
 * @author huiwu.heng
 * @date 2017年2月15日
 */
public class SearchByVoiceResponseVo implements Serializable {

    private static final long serialVersionUID = -9164342810054783542L;

    /**
     * 购买数量
     */
    private Integer quantity = 1;

    /**
     * 配送门店Id
     */
    private Long depotId;

    /**
     * 门店编码
     */
    private String depotCode;

    /**
     * 配送地址经度
     */
    private BigDecimal lon;

    /**
     * 配送地址纬度
     */
    private BigDecimal lat;

    /**
     * 配送地址城市Id
     */
    private Long cityId;

    /**
     * 配送地址城市名称
     */
    private String cityName;

    /**
     * 配送地址区域Id
     */
    private Long districtId;

    /**
     * 配送地址区域名称
     */
    private String districtName;

    /**
     * 配送目的地
     */
    private String destination;

    /**
     * 配送时间
     */
    private Integer predictTime;
    /**
     * 配送地址Id
     */
    private String shippingAddressId;

    /**
     * 首项商品
     */
    private DepotProductListItemVo firstResult;

    /**
     * 商品集合
     */
    private List<?> items = Lists.newArrayList();

    public SearchByVoiceResponseVo() {
        super();
    }

    public SearchByVoiceResponseVo(Integer quantity, List<?> items) {
        super();
        this.quantity = quantity;
        this.items = items;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public List<?> getItems() {
        return items;
    }

    public void setItems(List<?> items) {
        this.items = items;
    }

    public DepotProductListItemVo getFirstResult() {
        return firstResult;
    }

    public void setFirstResult(DepotProductListItemVo firstResult) {
        this.firstResult = firstResult;
    }

    public Long getDepotId() {
        return depotId;
    }

    public void setDepotId(Long depotId) {
        this.depotId = depotId;
    }

    public Integer getPredictTime() {
        return predictTime;
    }

    public void setPredictTime(Integer predictTime) {
        this.predictTime = predictTime;
    }

    public Long getCityId() {
        return cityId;
    }

    public void setCityId(Long cityId) {
        this.cityId = cityId;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getDestination() {
        return destination;
    }

    public void setDestination(String destination) {
        this.destination = destination;
    }

    public BigDecimal getLon() {
        return lon;
    }

    public void setLon(BigDecimal lon) {
        this.lon = lon;
    }

    public BigDecimal getLat() {
        return lat;
    }

    public void setLat(BigDecimal lat) {
        this.lat = lat;
    }

    public Long getDistrictId() {
        return districtId;
    }

    public void setDistrictId(Long districtId) {
        this.districtId = districtId;
    }

    public String getDistrictName() {
        return districtName;
    }

    public void setDistrictName(String districtName) {
        this.districtName = districtName;
    }

    public String getShippingAddressId() {
        return shippingAddressId;
    }

    public void setShippingAddressId(String shippingAddressId) {
        this.shippingAddressId = shippingAddressId;
    }

    public String getDepotCode() {
        return depotCode;
    }

    public void setDepotCode(String depotCode) {
        this.depotCode = depotCode;
    }
}
